<?php


namespace app\voip\func;


use app\voip\model\EConsumptionLevel;

class ConsumptionLevelFunc
{
    /**
     * @return mixed
     * @throws \think\exception\DbException
     */
    static public function select()
    {
        return EConsumptionLevel::all();
    }

    /**
     * @param $where
     * @return mixed
     * @throws \think\exception\DbException
     */
    static public function find($where)
    {
        return EConsumptionLevel::get($where);

    }
}